package com.hc.dao;

import java.util.List;

import com.hc.entity.Contract;
import com.hc.entity.House;
import com.hc.entity.Tenant;

public interface ContractDao {

	
	//查租户
	public List<Tenant> getallteant();
	
	//查房源
	public List<House> getallhouse();
	
	//查询
	public List<Contract> select(String cname,String cdate,String cstate);
	
	//修改反显
	public Contract toupdate(int id);
	
	//修改
	public void update(Contract contract);
	
	//添加
	public void add(Contract contract);
	
	//删除
	public void del(int id);
	
	
}
